let path = require('path')
let HtmlWebpackPlugin = require('html-webpack-plugin')
module.exports={
    entry:'./src/main.js',
    output:{
        filename:'bundle.js',
        path:path.resolve(__dirname,'dist')
    },
    mode:'development',
    
    module:{
        rules:
        [
           
        ]
    },
    plugins:[
        new HtmlWebpackPlugin
        ({
            template:'./src/index.html',
            filename:'index.html'
        })
     ]
   

}